package com.ziyun.erp.common.e.capital;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * 商户类型枚举
 *
 * @author zh
 * @date 2018/8/617:55
 */
public enum MerchantTypeEnum implements BaseEnum {
    SMALL_B(0, "小B"),
    FACTORY(1, "工厂");

    private int id;
    private String describe;

    MerchantTypeEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    ;

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return id + "";
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
